//
//  MyModel.m
//  悠狸
//
//  Created by dlios on 15-8-25.
//  Copyright (c) 2015年 Dung. All rights reserved.
//

#import "MyModel.h"

@implementation MyModel

- (void)dealloc
{
    [_content_url release];
    [_cover_image_url release];
    [_liked release];
    [_share_msg release];
    [_short_title release];
    [_title release];
    [_type release];
    [_url release];
    [_created_at release];
    
    [_Id release];
    [_likes_count release];
    [_published_at release];
    [_published_at release];
    [_status release];
    [_subtitle release];
    

    [_image_url release];
    [_target_id release];
    [_target_url release];
    [_icon_url release];
    
    [super dealloc];
    
}
- (instancetype)initcontent_url:(NSString *)content_url cover_image_url:(NSString *)cover_image_url created_at:(NSInteger )created_at likes_count:(NSInteger)likes_count title:(NSString *)title image_url:(NSString *)image_url target_id:(NSString *)target_id target_url:(NSString *)target_url icon_url:(NSString *)icon_url
{
    self = [super init];
    if (self) {
        self.content_url = content_url;
        self.cover_image_url = cover_image_url;
        self.title = title;
        self.image_url = image_url;
        self.target_id = target_id;
        self.target_url = target_url;
        self.icon_url = icon_url;
     
   
    }
   
    return self;
    
}

+ (instancetype)Mymodelcontent_url:(NSString *)content_url cover_image_url:(NSString *)cover_image_url created_at:(NSInteger )created_at likes_count:(NSInteger)likes_count title:(NSString *)title image_url:(NSString *)image_url target_id:(NSString *)target_id target_url:(NSString *)target_url icon_url:(NSString *)icon_url
{
    
    MyModel *model = [[[MyModel alloc] init] autorelease];
    return model;
    

}
-(id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
    
    
}
@end
